<?php
/**
 * Form to display captcha on confirm
 *
 * @author Lukas normantas
 */
class Default_Form_ConfirmForm extends Zend_Form
{
    public function init()
    {
        $this->setMethod('post');

        //$this->addElement('text', 'info', array());

        $this->addElement('captcha', 'captcha', array(
            'label'      => 'Please enter the 5 letters displayed below:',
            'required'   => true,
            'captcha'    => array('captcha' => 'Figlet', 'wordLen' => 5, 'timeout' => 300, 'font' => DATA_PATH . 'fonts/big.flf')
        ));

        $this->addElement('submit', 'submit', array(
            'label'    => 'Confirm',
        ));
    }
}
